package com.easy.common.bean;

import com.baomidou.mybatisplus.annotation.*;
import com.easy.common.enumbean.PermissionType;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@TableName("sys_permission")
@Data
public class SysPermission implements Serializable {
    @TableId(type= IdType.AUTO)
    private Integer id;
    @TableField(value = "perm_key")
    private String permkey;
    @TableField(value = "perm_name")
    private String permname;
    @TableField(value = "perm_type")
    private PermissionType permtype;
    @TableField(value = "service_module")
    private String servicemodule;
    private String description;
    @TableField(value = "create_time")
    private LocalDateTime createtime;


}
